<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8"/>
    <title>注册</title>
    <head th:insert="~{import :: head}"></head>
</head>
<body>
<div class="container">
    <form class="form-signin" >
        <h2 class="form-signin-heading">用户注册</h2>
        <label for="inputUserName" class="sr-only">用户名</label>
        <input type="text" id="inputUserName" name="username" class="form-control" placeholder="用户名" required autofocus>
        <label for="inputPassword" class="sr-only">密码</label>
        <input type="password" id="inputPassword" class="form-control" placeholder="密码" style="margin: 0;" required>
        <label for="secondPassword" class="sr-only">请再一次输入</label>
        <input type="password" id="secondPassword" class="form-control" placeholder="再一次输入" style="margin: 0;" required>
        <label for="inputName" class="sr-only">昵称</label>
        <input type="text" id="inputName" class="form-control" placeholder="昵称" required >
        <button class="btn btn-lg btn-primary btn-block" type="button" onclick="registerProcess()">注册</button>
        </button>
    </form>
</div>
</body>
</html>